package cn.shopifymall.tomcat;

import cn.shopifymall.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer;

import javax.servlet.Filter;

/**
 * 此类为用户类，实现了 WebApplicationInitializer
 * 本质就是 ServletConfig 配置类
 *
 * @Author 孤风雪影
 * @Email gitee.com/efairy520
 * @Date 2025/4/15 5:17
 * @Version 1.0
 */
public class QuickStart extends AbstractAnnotationConfigDispatcherServletInitializer {
    @Override
    protected Filter[] getFilters() {
        return new Filter[0];
    }

    @Override
    protected Class<?> getRootConfigClass() {
        return AppConfig.class;
    }

    @Override
    protected Class<?> getWebConfigClass() {
        return AppConfig.class;
    }
}
